﻿using CloudStorageLight.Core;
using CloudStorageLight.Core.Web;
using CloudStorageLight.SharePointWeb.Models;
using Microsoft.SharePoint.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Web;
using System.Web.Mvc;

namespace CloudStorageLight.SharePointWeb.Controllers
{
    public class DataV3Controller : BlobODataV3ControllerBase
    {
        protected override BlobUser GetCurrentUser()
        {
            return BasicAuthenticateUtil.GetCurrentUser();
        }



        public DataV3Controller()
        {

        }
        protected override Core.BlobService CreateBlobService()
        {
            BasicAuthenticateUtil.Init();
            return new BlobService();
        }
    }
}